package com.theaf.basemodule.common.dto.log;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@ApiModel("日志DTO")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class LogDTO implements Serializable {
    @ApiModelProperty("动作")
    private String action;
    @ApiModelProperty("系统名")
    private String sysName;
    @ApiModelProperty("资源名")
    private String resourceName;
    @ApiModelProperty("异常内容")
    private String errContent;
    @ApiModelProperty("操作人名")
    private String opeName;
    @ApiModelProperty("请求时间")
    private Date reqTime;
    @ApiModelProperty("用时")
    private Integer useTs;
    @ApiModelProperty("操作IP")
    private String opeIp;
    @ApiModelProperty("操作终端")
    private String opeTer;
    @ApiModelProperty("操作类型名称")
    private String operTypeName;
    @ApiModelProperty("操作数据")
    private List<String> datas;
}
